package com.yigang.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.yigang.dao.MyTheorderDao;
import com.yigang.entity.MyTheorder;
import com.yigang.service.MyTheorderService;
@Service
@Transactional
public class MyTheorderServiceImpl implements MyTheorderService{

	@Autowired
	MyTheorderDao mytheorderDao;
	@Override
	public List<Map<String, Object>> getAllTheorder() {
		// TODO Auto-generated method stub
		return mytheorderDao.getAllTheorder();
	}
	@Override
	public int update(MyTheorder myorder) {
		// TODO Auto-generated method stub
		return mytheorderDao.update(myorder);
	}
	@Override
	public List<Map<String, Object>> getAllTheorder1() {
		// TODO Auto-generated method stub
		return mytheorderDao.getAllTheorder1();
	}
	@Override
	public List<Map<String, Object>> getAllTheorder2() {
		// TODO Auto-generated method stub
		return mytheorderDao.getAllTheorder2();
	}

}
